#include  "process.h"
void ProcessOn()
{
    int cnt =0;
    char bar[NUM];
    char* label="|\\-/";
    memset(bar,'\0',sizeof(bar));
     while(cnt<=100)
    {
        printf("[%-100s][%d%%][%c]\r", bar,cnt,label[cnt%4]);
        fflush(stdout);
        bar[cnt++]=STYLE;
        usleep(50000);
    }
     printf("\n");
}
